﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Sold.Logs.Entities.Logs;

public class History
{
    /// <summary>
    /// 历史数据ID
    /// </summary>
    [Key]
    public int Id { get; set; }

    /// <summary>
    /// 历史数据变量
    /// </summary>
    public string VariableName { get; set; }

    /// <summary>
    /// 历史数据值
    /// </summary>
    public double? Value { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime DateCreated { get; set; }
}
